# startup.sh
#!/bin/sh
echo "grant register"
chmod 777 ling-cloud-register/target/ling-cloud-register.jar
echo "exec register....."
#end with &
nohup java -jar ling-cloud-register/target/ling-cloud-register.jar --eureka.client.serviceUrl.defaultZone=http://192.168.1.3:6889/eureka >/dev/null 2>&1 &
echo "sleep 20"
sleep 20
echo "grant config"
chmod 777 ling-cloud-config/target/ling-cloud-config.jar
echo "exec config....."
#end with &
nohup java -jar ling-cloud-register/target/ling-cloud-register.jar --eureka.client.serviceUrl.defaultZone=http://192.168.1.3:6889/eureka >/dev/null 2>&1 &
